﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Default.aspx.vb" Inherits="WSCC_GlutenfreeKent._Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
        <br />
&nbsp;&nbsp;&nbsp;
        Welcome to the site - this is the homepage of Gluten-free Kent<br />
        <br />
        &nbsp;&nbsp;&nbsp;
        Please use the tabs above to navigate around the site and add content.<br />
        <br />
        </p>
        <h3>Top rated restaurants</h3><br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="TopRatedRestaurants_DS" HorizontalAlign="Left" 
            Width="200px">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="ID" 
                    DataNavigateUrlFormatString="../RestaurantPages/details.aspx?ID={0}" HeaderText="Restaurant" 
                    DataTextField="RestaurantName" />
            </Columns>
            <RowStyle Font-Bold="True" />
        </asp:GridView>
        <br />
        <br />
        <asp:SqlDataSource ID="TopRatedRestaurants_DS" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringRestaurants %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringRestaurants.ProviderName %>" 
            SelectCommand="SELECT * FROM [RestaurantRatingAverage]"></asp:SqlDataSource>
        <br />


    
</asp:Content>
